/*
 * Copyright (c) zhg2yqq.com Corp.
 * All Rights Reserved.
 */
package com.zhg2yqq.wheels.security.multi;

import org.springframework.security.crypto.factory.PasswordEncoderFactories;
import org.springframework.security.crypto.password.PasswordEncoder;

import com.zhg2yqq.wheels.security.ISecurityRepository;

/**
 * @author zhg2yqq, 2023年3月17日
 * @version zhg2yqq v1.0
 */
public class TokenCheckHelper {
    private PasswordEncoder passwordEncoder = PasswordEncoderFactories
            .createDelegatingPasswordEncoder();
    private ISecurityRepository securityRepository;

    public PasswordEncoder getPasswordEncoder() {
        return passwordEncoder;
    }

    public void setPasswordEncoder(PasswordEncoder passwordEncoder) {
        this.passwordEncoder = passwordEncoder;
    }

    public ISecurityRepository getSecurityRepository() {
        return securityRepository;
    }

    public void setSecurityRepository(ISecurityRepository securityRepository) {
        this.securityRepository = securityRepository;
    }
}
